<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="UTF-8">
		<title>Document</title>
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
		<meta name="description" content="Description">
		<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
		<link rel="shortcut icon" href="../pic/m.png" />
		<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify@4/lib/themes/vue.css">
		<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/gitalk/dist/gitalk.css">

	</head>
	<body>
		<nav>
			<a href="#/">EN</a>
			<a href="#/zh-cn/">中文</a>
		</nav>
		<div id="app">
			<div id="gitalk-container"></div>
		</div>
		<script>
			window.$docsify = {
				name: 'minibar',
				repo: 'https://gitee.com/cmlovecat/windchillNote',
				coverpage: true,
				loadSidebar: true,
				loadNavbar: true,
				subMaxLevel: 2,
				search: 'auto', // 默认值
				alias: {
					'/.*/_sidebar.md': '/_sidebar.md'
				},
				plugins: [
				    function(hook) {
				      var footer = [
				        '<hr/>',
				        '<footer>',
				        '<span><a href="https://gitee.com/cmlovecat/windchillNote">click-me</a> &copy;2021.</span>',
				        '<span>Proudly published with <a href="https://gitee.com/cmlovecat/windchillNote" target="_blank">Mini-Bar</a>.</span>',
				        '</footer>'
				      ].join('');
				
				      hook.afterEach(function(html) {
				        return html + footer;
				      });
				    }
				  ]
				// plugins: [
					// EditOnGithubPlugin.create(
					//   'https://github.com/njleonzhang/docsify-edit-on-github/blob/master/'
					// ),
					// EditOnGithubPlugin.create(
					// 	'https://github.com/Mini-Bar/MemoryPalace/tree/main/docs/',
					// 	null,
					// 	function(file) {
					// 		if (file.indexOf('en') === -1) {
					// 			return '编辑'
					// 		} else {
					// 			return 'edit on git'
					// 		}
					// 	}
					// )
				// ]
			}
		</script>

		<script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/gitalk.min.js"></script>
		<script src="//cdn.jsdelivr.net/npm/gitalk/dist/gitalk.min.js"></script>
		<script>
			const gitalk = new Gitalk({
				clientID: '2905c4da17cdbdc8bcdf',
				clientSecret: '904179dc2f054ea2e0384e0e847d6701186acd9f',
				repo: 'MemoryPalace',
				owner: 'Mini-Bar',
				admin: ['Mini-Bar'],
				distractionFreeMode: false
			})
		</script>
		<script>
		  if (typeof navigator.serviceWorker !== 'undefined') {
		    navigator.serviceWorker.register('sw.js')
		  }
		</script>
		<!-- Docsify v4 -->
		<script src="//cdn.jsdelivr.net/npm/docsify@4"></script>
		<script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/search.min.js"></script>
		<script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/emoji.min.js"></script>
		<script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/zoom-image.min.js"></script>
		<script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/gitalk.min.js"></script>
		<script src="//cdn.jsdelivr.net/npm/gitalk/dist/gitalk.min.js"></script>
		<script src="//cdn.jsdelivr.net/npm/docsify-copy-code"></script>
		<script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-bash.min.js"></script>
		<script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-php.min.js"></script>
		<script src="//unpkg.com/prismjs/components/prism-java.js"></script>
		<script src="//unpkg.com/prismjs/components/prism-sql.js"></script>
		<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/components/prism-yaml.js"></script>
		<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/components/prism-properties.min.js"></script>
		<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/components/prism-json.js"></script>
		<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/components/prism-bash.js"></script>
		<!-- <script src="//cdn.jsdelivr.net/npm/docsify-edit-on-github"></script> -->
		<!-- 		<script src="//cdn.jsdelivr.net/npm/docsify/lib/docsify.min.js"></script> -->
		<script src="//cdn.jsdelivr.net/npm/docsify-pagination/dist/docsify-pagination.min.js"></script>\
		
	</body>
</html>
